package com.raise.drive.model.domain;

import java.util.Map;

/**
 * As I suppose this class could be used to store count of created questions, count of comments.
 * May be, that is most important, for passed tests, etc.
 *
 * Author: Evgeny Morozov
 */
public class UserStatistics extends Persistent {

    /**
     * Passed tests: their themes to collected points (in percents) 
     */
    private Map<String, Integer> passedTests;

    /**
     * Count of written comments;
     */
    private int commentsCount;

    /**
     * Count of written questions
     */
    private int questionCreatedCount;


    public Map<String, Integer> getPassedTests() {
        return passedTests;
    }

    public void setPassedTests(Map<String, Integer> passedTests) {
        this.passedTests = passedTests;
    }

    public int getCommentsCount() {
        return commentsCount;
    }

    public void setCommentsCount(int commentsCount) {
        this.commentsCount = commentsCount;
    }

    public int getQuestionCreatedCount() {
        return questionCreatedCount;
    }

    public void setQuestionCreatedCount(int questionCreatedCount) {
        this.questionCreatedCount = questionCreatedCount;
    }
}
